package cn.com.ejiakanghu.dto;

import org.linlinjava.litemall.db.dto.HospitalOrderListDto;
import org.linlinjava.litemall.db.vo.app.GoodsVipSalesDto;
import org.linlinjava.litemall.db.vo.app.StoreGoodsVo;

import java.math.BigDecimal;

/**
 * @author wj
 * @date 2022/1/21 16:24
 */
public class HospitalGoodsBaseData {




    private Integer id;

    private String name;

    private String image;

    private String type;

    private BigDecimal price;

    private Integer buycount;

    private String skuName;

    private GoodsVipSalesDto selectedSkuVipSale;

    public GoodsVipSalesDto getSelectedSkuVipSale() {
        return selectedSkuVipSale;
    }

    public void setSelectedSkuVipSale(GoodsVipSalesDto selectedSkuVipSale) {
        this.selectedSkuVipSale = selectedSkuVipSale;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getBuycount() {
        return buycount;
    }

    public void setBuycount(Integer buycount) {
        this.buycount = buycount;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public HospitalGoodsBaseData(Integer id, String name, String image, String type, BigDecimal price, Integer buycount, String skuName) {
        this.id = id;
        this.name = name;
        this.image = image;
        this.type = type;
        this.price = price;
        this.buycount = buycount;
        this.skuName = skuName;
    }

    public HospitalGoodsBaseData(HospitalOrderListDto hospitalOrderListDto) {
        this.id = hospitalOrderListDto.getId();
        this.name = hospitalOrderListDto.getName();
        this.image = hospitalOrderListDto.getImage();
        this.type = hospitalOrderListDto.getType();
        this.price = hospitalOrderListDto.getPrice();
        this.buycount = hospitalOrderListDto.getBuycount();
        this.skuName = hospitalOrderListDto.getSkuName();
    }


    public HospitalGoodsBaseData() {
    }
}
